<?php
/**
 * Description of Input
 *
 * @author josema
 */
class Input {
    static public function get($name){
        if(key_exists($name, $_POST))
            return $_POST[$name];

        if (key_exists($name, $_GET))
            return $_GET[$name];

        return null;
    }
}
?>
